package com.telecom.weixi.net;

import org.ksoap2.serialization.SoapObject;


public class ReqParam {
	public static final String LATN_ID = "931";
	
	
	public static final String GetMenuList			= "getMenuList";
	public static final String GetAccNBrSearch 		= "getAccNbrSearch";
	public static final String GetUserNameSearch 	= "getUserNameSearch";
	public static final String GetUserBaseInfo		= "getUserBaseInfo";	//ItemBean
	public static final String GetCustInfoItem		= "getCustInfoItem";    //MenuContentBean
	
	public static final String GetCustBaseInfo		= "getCustBaseInfo";   		//ItemBean
	public static final String GetProductInfo		= "getProductInfo";			//ItemBean
	public static final String GetOfferOrderInfo	= "getOfferOrderInfo";		//OfferOrderBean
	public static final String GetAttrProdBaseInfo  = "getAttrProdBaseInfo";  	//ItemBean 
	public static final String GetMonthAcctBaseInfo = "getMonthAcctBaseInfo"; 	//ItemBean
	
	public static final String GetOfferBaseInfo		= "getOfferBaseInfo";	//ItemBean
	public static final String GetOfferInstBaseInfo = "getOfferInstBaseInfo"; //ItemBean
	
	public static final String GetTerminalInfo		= "getTerminalInfo";
	public static final String GetTerminalInfodetail = "getTerminalInfodetail";
	public static final String GetOweInfo			= "getOweInfo";
	public static final String GetOweInfoDetail		= "getOweInfoDetail";
	public static final String SendUserFeedback 	= "sendUserFeedback";
	public static final String Login				= "login";
	public static final String UpdatePattern		= "updatePattern";
	
	public enum ReqType{
		GetMenuList,
		GetAccNBrSearch,
		GetUserNameSearch,
		GetUserBaseInfo,
		GetCustInfoItem,
		GetCustBaseInfo,
		
		GetProductInfo,
		GetOfferOrderInfo,
		GetAttrProdBaseInfo,
		GetMonthAcctBaseInfo,
		
		GetOfferBaseInfo,
		GetOfferInstBaseInfo,
		
		GetTerminalInfo,
		GetTerminalInfodetail,
		GetOweInfo,
		GetOweInfoDetail,
		SendUserFeedback,
		Login,
		UpdatePattern
	}
	
	public static final String LowerMenuId = "100100100";
	
	private ReqType reqType;
	private SoapObject request;
	private String actionMathod;
	
	public ReqParam(ReqType type, SoapObject req, String method) {
		setReqType(type);
		request = req;
		actionMathod = method;
	}
	
	public String getActionMethod(){
		return actionMathod;
	}
	
	public SoapObject getSoapReq() {
		return request;
	}
	
	public ReqType getReqType(){
		return reqType;
	}
	
	private void setReqType(ReqType type){
		reqType = type;
	}	
	
}
